<template>
  <div>这个页面我不知道怎么触发的。有时间再问把。</div>
</template>

<script>
export default {
  beforeRouteEnter(to, from, next) {
    console.log('refresh')
    next((vm) => {
      console.log('refresh')
      vm.$router.replace({ name: from.name, query: from.query, params: from.params })
    })
  }
}
</script>

<style></style>
